package com.icehand.common.code;

import lombok.Getter;

/**
 * @author icehand
 */
@Getter
public enum PaymentCode implements CodeEnum<Integer> {
    /**
     * pay fail
     */
    PAY_PARAM_ERROR(2000,"支付参数异常"),
    PAY_FAIL(2001,"支付失败"),
    PAY_NOTIFY_PARAM_ERROR(2002,"支付回调参数异常"),
    PAY_NOTIFY_SIGN_ERROR(2002,"支付回调签名异常"),
    PAY_NOTIFY_VERIFY_FAIL(2002,"支付回调验证失败"),

    ;

    private Integer code;
    private String msg;

    PaymentCode(Integer code, String msg){
            this.code = code;
            this.msg = msg;
        }
    }